Automattic\WooCommerce\Internal\Logging\RemoteLogger A

Total Complexity 72
Dependencies 7
Dependents 3
Total lines 476
Lines of code 247
Logical lines of code 136
Comment lines 161
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
get_formatted_log()
A
43 14 44
is_third_party_error()
A
53 12 21
fetch_latest_woocommerce_version()
A
50 8 29
log()
A
48 7 33
sanitize_trace()
S
54 6 23
should_handle()
S
58 5 16
is_remote_logging_allowed()
S
60 5 15
sanitize_request_uri()
S
51 4 27
build_url()
S
68 3 6
sanitize()
S
61 2 13
handle()
S
70 2 6
is_latest_woocommerce_version()
S
68 2 7
is_variant_assignment_allowed()
S
75 1 4
is_dev_or_local_environment()
S
78 1 3